<include file="public@header"/>
</head>
<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--页面主要内容-->
        <main class="lyear-layout-content">
          
            <div class="container-fluid">
            
                <div class="row">
                   <div class="col-md-12">
                        <div class="card">
                            <ul class="nav nav-tabs">
                                <li><a href="{:url('nav/index')}">{:lang('ADMIN_NAV_INDEX')}</a></li>
                                <li class="active"><a href="{:url('nav/add')}">{:lang('ADMIN_NAV_ADD')}</a></li>
                                <!--<li><a  href="{:url('nav/edit')}" >{:lang('ADMIN_NAV_EDIT')}</a></li>-->
                            </ul>
                            <div class="card-body">
                                <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('nav/addPost')}">

                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><span class="form-required">*</span>名称:</label>
                                        <div class="col-md-6 col-sm-10">
                                            <input type="text" class="form-control" name="name" value="">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">备注:</label>
                                        <div class="col-md-6 col-sm-10">
                                            <textarea class="form-control" name="remark" rows="5" cols="57"></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label">主菜单:</label>
                                        <div class="col-md-6 col-sm-10">
                                            <div class="checkbox">
                                                <label class="lyear-checkbox checkbox-primary">
                                                    <input  type="checkbox" name="is_main" value="1" >
                                                    <span></span>
                                                </label>
                                            </div>

                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-sm-offset-2 col-sm-10">
                                            <button type="submit" class="btn btn-primary js-ajax-submit">{:lang("SAVE")}</button>
                                            <a class="btn btn-default" href="{:url('Nav/index')}">返回</a>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>
</div>
<script src="__TMPL__/public/assets/js/admin.js"></script>
</body>
</html>